//---------------------------------------------------------------------------

#include <vcl.h>
#pragma hdrstop

#include "FWnd.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma link "LMDCustomComponent"
#pragma link "LMDStorBase"
#pragma link "LMDStorXMLVault"
#pragma link "LMDStorXORCryptor"
#pragma link "LMDFormShadow"
#pragma link "LMDWndProcComponent"
#pragma link "LMDFormShape"
#pragma link "LMDSysBase"
#pragma link "LMDSysLog"
#pragma link "LMDStorFormHook"
#pragma link "LMDStorPropertiesStorage"
#pragma resource "*.dfm"
TWnd *Wnd;





//---------------------------------------------------------------------------
__fastcall TWnd::TWnd(TComponent* Owner)
   : TForm(Owner)
{
  dataUnit *as = new dataUnit();
  as->IntValue = 11111;
  as->SettingsName = "NewNameSettasdasdasdings2222";
  LMDStorXMLVault1->FileName = "set.xml";
  LMDStorXMLVault1->Open();
  LMDStorXMLVault1->Delete();

  LMDStorXMLVault1->AddSection("Settings");

  //LMDStorXMLVault1->WriteString("asd", "name value", "value data");

  LMDStorXMLVault1->WriteObject("Settings2", "datUnitObject", as);

  LMDStorXMLVault1->Update();
  LMDStorXMLVault1->Close();
  delete as;

}
//---------------------------------------------------------------------------




bool TWnd::Init()
{


}
